package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.SysDepartureAddress;
import com.kws.system.domain.info.QueryDepartureAddressInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDepartureAddressMapper extends BaseMapper<SysDepartureAddress> {
    Page<QueryDepartureAddressInfo> queryDepartureAddressPage(@Param("page") Page<QueryDepartureAddressInfo> page, @Param("consignerName") String consignerName);

    QueryDepartureAddressInfo queryDepartureAddressById(@Param("id") Long id);
}
